<template>
  <div class="page">
    <PageHeader></PageHeader>
    <div class="text-center pt-36">
      <h1>会员中心</h1>
      <button @click="logout">退出登陆</button>
    </div>
  </div>
</template>

<script setup>
import PageHeader from '@/components/PageHeader.vue'
import { removeToken } from '@/utils/token'


function logout(){
  removeToken()
  window.location.reload()
}
</script>
